package com.example.boot.user.service;

import com.example.boot.user.entity.UserInfoEntity;

public interface UserInfoService {
	/**
	 * 注册用户
	 * @param user
	 * @return
	 * @throws Exception
	 */
	public boolean addUserInfo(UserInfoEntity user) throws Exception;

	/**
	 * 登陆接口
	 * @param name
	 * @param pwd
	 * @return
	 * @throws Exception
	 */
	public UserInfoEntity userLogin(String name,String pwd)throws Exception;
}
